3.791 \(\int \frac{\sqrt{c+d x^4}}{x (a+b x^4)} \, dx\)

Optimal. Leaf size=85 \[ \frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^4}}{\sqrt{b c-a d}}\right )}{2 a \sqrt{b}}-\frac{\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x^4}}{\sqrt{c}}\right )}{2 a} \]

[Out]

-(Sqrt[c]*ArcTanh[Sqrt[c + d*x^4]/Sqrt[c]])/(2*a) + (Sqrt[b*c - a*d]*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^4])/Sqrt[b*
c - a*d]])/(2*a*Sqrt[b])

________________________________________________________________________________________

Rubi [A]  time = 0.0746659, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {446, 83, 63, 208} \[ \frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^4}}{\sqrt{b c-a d}}\right )}{2 a \sqrt{b}}-\frac{\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x^4}}{\sqrt{c}}\right )}{2 a} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[c + d*x^4]/(x*(a + b*x^4)),x]

[Out]

-(Sqrt[c]*ArcTanh[Sqrt[c + d*x^4]/Sqrt[c]])/(2*a) + (Sqrt[b*c - a*d]*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^4])/Sqrt[b*
c - a*d]])/(2*a*Sqrt[b])

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 83

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[(b*e - a*f)/(b*c
 - a*d), Int[(e + f*x)^(p - 1)/(a + b*x), x], x] - Dist[(d*e - c*f)/(b*c - a*d), Int[(e + f*x)^(p - 1)/(c + d*
x), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && LtQ[0, p, 1]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rubi steps

\begin{align*} \int \frac{\sqrt{c+d x^4}}{x \left (a+b x^4\right )} \, dx &=\frac{1}{4} \operatorname{Subst}\left (\int \frac{\sqrt{c+d x}}{x (a+b x)} \, dx,x,x^4\right )\\ &=\frac{c \operatorname{Subst}\left (\int \frac{1}{x \sqrt{c+d x}} \, dx,x,x^4\right )}{4 a}-\frac{(b c-a d) \operatorname{Subst}\left (\int \frac{1}{(a+b x) \sqrt{c+d x}} \, dx,x,x^4\right )}{4 a}\\ &=\frac{c \operatorname{Subst}\left (\int \frac{1}{-\frac{c}{d}+\frac{x^2}{d}} \, dx,x,\sqrt{c+d x^4}\right )}{2 a d}-\frac{(b c-a d) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b c}{d}+\frac{b x^2}{d}} \, dx,x,\sqrt{c+d x^4}\right )}{2 a d}\\ &=-\frac{\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x^4}}{\sqrt{c}}\right )}{2 a}+\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^4}}{\sqrt{b c-a d}}\right )}{2 a \sqrt{b}}\\ \end{align*}

Mathematica [A]  time = 0.0350757, size = 81, normalized size = 0.95 \[ \frac{\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^4}}{\sqrt{b c-a d}}\right )}{\sqrt{b}}-\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x^4}}{\sqrt{c}}\right )}{2 a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[c + d*x^4]/(x*(a + b*x^4)),x]

[Out]

(-(Sqrt[c]*ArcTanh[Sqrt[c + d*x^4]/Sqrt[c]]) + (Sqrt[b*c - a*d]*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^4])/Sqrt[b*c - a
*d]])/Sqrt[b])/(2*a)

________________________________________________________________________________________

Maple [B]  time = 0.016, size = 1037, normalized size = 12.2 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^4+c)^(1/2)/x/(b*x^4+a),x)

[Out]

-1/4/a*((x^2-(-a*b)^(1/2)/b)^2*d+2*d*(-a*b)^(1/2)/b*(x^2-(-a*b)^(1/2)/b)-(a*d-b*c)/b)^(1/2)-1/4/b/a*d^(1/2)*(-
a*b)^(1/2)*ln((d*(-a*b)^(1/2)/b+(x^2-(-a*b)^(1/2)/b)*d)/d^(1/2)+((x^2-(-a*b)^(1/2)/b)^2*d+2*d*(-a*b)^(1/2)/b*(
x^2-(-a*b)^(1/2)/b)-(a*d-b*c)/b)^(1/2))-1/4/b/(-(a*d-b*c)/b)^(1/2)*ln((-2*(a*d-b*c)/b+2*d*(-a*b)^(1/2)/b*(x^2-
(-a*b)^(1/2)/b)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-a*b)^(1/2)/b))*c+1/2/a*(d*x^4+c)^(1/2)-1/2/a*c^(1/2
)*ln((2*c+2*c^(1/2)*(d*x^4+c)^(1/2))/x^2)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{d x^{4} + c}}{{\left (b x^{4} + a\right )} x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^(1/2)/x/(b*x^4+a),x, algorithm="maxima")

[Out]

integrate(sqrt(d*x^4 + c)/((b*x^4 + a)*x), x)

________________________________________________________________________________________

Fricas [A]  time = 1.65702, size = 851, normalized size = 10.01 \begin{align*} \left [\frac{\sqrt{\frac{b c - a d}{b}} \log \left (\frac{b d x^{4} + 2 \, b c - a d + 2 \, \sqrt{d x^{4} + c} b \sqrt{\frac{b c - a d}{b}}}{b x^{4} + a}\right ) + \sqrt{c} \log \left (\frac{d x^{4} - 2 \, \sqrt{d x^{4} + c} \sqrt{c} + 2 \, c}{x^{4}}\right )}{4 \, a}, \frac{2 \, \sqrt{-\frac{b c - a d}{b}} \arctan \left (-\frac{\sqrt{d x^{4} + c} b \sqrt{-\frac{b c - a d}{b}}}{b c - a d}\right ) + \sqrt{c} \log \left (\frac{d x^{4} - 2 \, \sqrt{d x^{4} + c} \sqrt{c} + 2 \, c}{x^{4}}\right )}{4 \, a}, \frac{2 \, \sqrt{-c} \arctan \left (\frac{\sqrt{d x^{4} + c} \sqrt{-c}}{c}\right ) + \sqrt{\frac{b c - a d}{b}} \log \left (\frac{b d x^{4} + 2 \, b c - a d + 2 \, \sqrt{d x^{4} + c} b \sqrt{\frac{b c - a d}{b}}}{b x^{4} + a}\right )}{4 \, a}, \frac{\sqrt{-\frac{b c - a d}{b}} \arctan \left (-\frac{\sqrt{d x^{4} + c} b \sqrt{-\frac{b c - a d}{b}}}{b c - a d}\right ) + \sqrt{-c} \arctan \left (\frac{\sqrt{d x^{4} + c} \sqrt{-c}}{c}\right )}{2 \, a}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^(1/2)/x/(b*x^4+a),x, algorithm="fricas")

[Out]

[1/4*(sqrt((b*c - a*d)/b)*log((b*d*x^4 + 2*b*c - a*d + 2*sqrt(d*x^4 + c)*b*sqrt((b*c - a*d)/b))/(b*x^4 + a)) +
 sqrt(c)*log((d*x^4 - 2*sqrt(d*x^4 + c)*sqrt(c) + 2*c)/x^4))/a, 1/4*(2*sqrt(-(b*c - a*d)/b)*arctan(-sqrt(d*x^4
 + c)*b*sqrt(-(b*c - a*d)/b)/(b*c - a*d)) + sqrt(c)*log((d*x^4 - 2*sqrt(d*x^4 + c)*sqrt(c) + 2*c)/x^4))/a, 1/4
*(2*sqrt(-c)*arctan(sqrt(d*x^4 + c)*sqrt(-c)/c) + sqrt((b*c - a*d)/b)*log((b*d*x^4 + 2*b*c - a*d + 2*sqrt(d*x^
4 + c)*b*sqrt((b*c - a*d)/b))/(b*x^4 + a)))/a, 1/2*(sqrt(-(b*c - a*d)/b)*arctan(-sqrt(d*x^4 + c)*b*sqrt(-(b*c
- a*d)/b)/(b*c - a*d)) + sqrt(-c)*arctan(sqrt(d*x^4 + c)*sqrt(-c)/c))/a]

________________________________________________________________________________________

Sympy [A]  time = 11.2061, size = 82, normalized size = 0.96 \begin{align*} \frac{2 \left (\frac{c d \operatorname{atan}{\left (\frac{\sqrt{c + d x^{4}}}{\sqrt{- c}} \right )}}{4 a \sqrt{- c}} + \frac{d \left (a d - b c\right ) \operatorname{atan}{\left (\frac{\sqrt{c + d x^{4}}}{\sqrt{\frac{a d - b c}{b}}} \right )}}{4 a b \sqrt{\frac{a d - b c}{b}}}\right )}{d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**4+c)**(1/2)/x/(b*x**4+a),x)

[Out]

2*(c*d*atan(sqrt(c + d*x**4)/sqrt(-c))/(4*a*sqrt(-c)) + d*(a*d - b*c)*atan(sqrt(c + d*x**4)/sqrt((a*d - b*c)/b
))/(4*a*b*sqrt((a*d - b*c)/b)))/d

________________________________________________________________________________________

Giac [A]  time = 1.14372, size = 117, normalized size = 1.38 \begin{align*} -\frac{1}{2} \, d{\left (\frac{{\left (b c - a d\right )} \arctan \left (\frac{\sqrt{d x^{4} + c} b}{\sqrt{-b^{2} c + a b d}}\right )}{\sqrt{-b^{2} c + a b d} a d} - \frac{c \arctan \left (\frac{\sqrt{d x^{4} + c}}{\sqrt{-c}}\right )}{a \sqrt{-c} d}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^(1/2)/x/(b*x^4+a),x, algorithm="giac")

[Out]

-1/2*d*((b*c - a*d)*arctan(sqrt(d*x^4 + c)*b/sqrt(-b^2*c + a*b*d))/(sqrt(-b^2*c + a*b*d)*a*d) - c*arctan(sqrt(
d*x^4 + c)/sqrt(-c))/(a*sqrt(-c)*d))